package com.tech.platform.cms.logger.event;

import com.tech.platform.cms.logger.model.ErrorLogModel;
import org.springframework.context.ApplicationEvent;

/**
 * @author shengqiang.wu
 * @date 2020/3/26/026 17:34
 * @desc
 */
public class ErrorLogEvent extends ApplicationEvent{

    public ErrorLogEvent(ErrorLogModel source) {
        super(source);
    }

    @Override
    public ErrorLogModel getSource() {
        return (ErrorLogModel)super.getSource();
    }
}
